xOffWasSent
Type Definitions
SerShk used by SerHShake to set handshaking options and control
information.
SerStaRec used by SerStatus to obtain status information about a
driver.
typedef unsigned char SPortSel;
Driver reset information
baud300 380 300 baud
baud600 189 600 baud
baud1200 94 1200 baud
baud1800 62 1800 baud
baud2400 46 2400 baud
baud3600 30 3600 baud
baud4800 22 4800 baud
baud7200 14 7200 baud
baud9600 10 9600 baud
baud19200 4 19200 baud
baud57600 0 57600 baud
stop10 16384 1 stop bit
stop15 -32768 1.5 stop bits
stop20 -16384 2 stop bits
noParity 0 no parity
oddParity 4096 odd parity
evenParity 12288 even parity
data5 0 5 data bits
data6 2048 6 data bits
data7 1024 7 data bits
data8 3072 8 data bits
Masks for errors
swOverrunErr 1 set if software overrun error
parityErr 16 set if parity error
hwOverrunErr 32 set if hardware overrun error
framingErr 64 set if framing error
Masks for changes that cause events to be posted
ctsEvent 32 set if CTS change will cause event to be posted
breakEvent 128 set if break status change will cause event to be
posted
Indication that an XOff character was sent
xOffWasSent 0x80
dtrNegated 64
ainRefNum -6 serial port A input
aoutRefNum -7 serial port A output
binRefNum -8 serial port B input
boutRefNum -9 serial port B output
Result codes
noErr 0 no error
openErr -23 attempt to open RAM Serial Driver failed
SPortSel values
sPortA 0 modem port
sPortB 1 printer port
Do not use low memory global variables that are not documented.
No undocumented location below the system heap is guaranteed to be available
for use in future systems.
Variables
Name Address Size Description
PortBUse 0x0291 1 Current availability of serial port B